// 口味类型

export interface TasteType {
  id?: number;
  name: string;
}

export interface TastesResponse extends ResponseData {
  data: TasteType[];
}

export interface TasteResponse extends ResponseData {
  data: TasteType;
}

export interface TasteEditResponse extends ResponseData {
  data: boolean;
}

// 定义全部接口返回数据都拥有ts类型
interface ResponseData {
  code: number;
  message: string;
}
